﻿<%= error_messages_for 'article' %>

<!--[form:article]-->
<p><label for="article_articletitle">文章标题</label><br/>
<%= text_field 'article', 'articletitle'  %></p>

<p><label for="article_author">文章作者</label><br/>
<%= text_field 'article', 'author'  %></p>

<p><label for="article_department">所在科室</label><br/>
    <select name="article[department_id]">
      <% @departments.each do |department| %>
      <option value="<%= department.id %>">
        <%= department.name %>
      </option>
      <% end %>
    </select>

</p>

<p><label for="article_receiveddate">收稿日期</label><br/>
<%= date_select 'article', 'receiveddate'  %></p>

<p><label for="article_reviewdate">审稿日期</label><br/>
<%= date_select 'article', 'reviewdate'  %></p>

<p><label for="article_contributedate">投稿日期</label><br/>
<%= date_select 'article', 'contributedate'  %></p>

<p><label for="article_journal">所投期刊</label><br/>
<%= text_field 'article', 'journal'  %></p>

<p><label for="article_issuenumber">期刊号</label><br/>
<%= text_field 'article', 'issuenumber'  %></p>
<!--[eoform:article]-->

